package com.deloitte.snap.service;

import java.util.List;

import com.deloitte.snap.dao.IconMasterDAOImpl;
import com.deloitte.snap.vo.IconMasterVO;

public class IconMasterService extends AbstractService{
	/**
	 * Doc Type bean name in WEB-INF/dataAccessContext.xml
	 */
	private final String DAO_NAME = "iconMasterDAO";
	/**
	 * Instance of DAO Class
	 */
	private final IconMasterDAOImpl iconMasterDAO = (IconMasterDAOImpl) getDAO(DAO_NAME);
	
	/**
	 * This method used to retrieve all different categories of document available in Icon 
	 * 
	 * @return - Return the collection of document categories
	 */
	public List<IconMasterVO> findAllIconMasters(){
		List<IconMasterVO> iconMasters =  null;
		if(iconMasterDAO != null){
			iconMasters = iconMasterDAO.findAll();
		}
		return iconMasters;
	}
	
}
